package com.yige.service.mongoService

import com.mongodb.DBCollection
import com.yige.common.SystemConstant
import com.yige.service.StorageGoodsService
import org.springframework.stereotype.Service

/**
 * Created by sunhao on 2015/10/13 0013.
 */

@Service
class MongoStorageGoodsService extends BasicMongoServiceImp implements StorageGoodsService{
    @Override
    DBCollection getCollection() {
        return mongoTemplate.getCollection(SystemConstant.MONGODB_COL_STORAGE_GOODS)
    }
}
